<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
 	<h:panelGrid columns="3" styleClass="login-header" rendered="#{request.isUserInRole('ROLE_ADMIN')}">
 		<h:panelGrid columns="3">
		 	<h:outputLink value="#{request.contextPath}/admin/upload">
		 		<h:outputText value="Bilder Hochladen" />
		 	</h:outputLink>
			<h:outputLink value="#{request.contextPath}/admin/loeschen">
				<h:outputText value="Bilder Entfernen" />
			</h:outputLink>
			<h:outputLink value="#{request.contextPath}/admin/statistik">
				<h:outputText value="Statistik" />
			</h:outputLink> 
 		</h:panelGrid>
 		<p:spacer width="1000" height="0" />
 		<h:outputLink value="#{request.contextPath}/logout" >
			<h:outputText value="Logout" />
		</h:outputLink>
	</h:panelGrid>
</ui:composition>
  